home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
001-100
/
001-025
/
023
/
ver30
/
sys
/
sysv
/
makefile
< prev
next >
Wrap
Makefile
|
1995-03-17
|
1KB
|
67 lines
# Makefile for MicroEMACS.
# Is there a better way to do the rebuilds, other than using
# the links?
SYS = sysv
TTY = ansi
CFLAGS = -O
LIBS =
OBJ = basic.o \
buffer.o \
cinfo.o \
display.o \
echo.o \
extend.o \
file.o \
kbd.o \
line.o \
main.o \
random.o \
region.o \
search.o \
symbol.o \
version.o \
window.o \
word.o \
fileio.o \
spawn.o \
ttyio.o \
tty.o \
ttykbd.o
xemacs: $(OBJ)
cc -o xemacs $(OBJ) $(LIBS)
$(OBJ): def.h sysdef.h ttydef.h
sysdef.h: sys/$(SYS)/sysdef.h # Update links, if needed.
rm -f sysdef.h
ln sys/$(SYS)/sysdef.h .
ttydef.h: tty/$(TTY)/ttydef.h
rm -f ttydef.h
ln tty/$(TTY)/ttydef.h .
fileio.c: sys/$(SYS)/fileio.c
rm -f fileio.c
ln sys/$(SYS)/fileio.c .
spawn.c: sys/$(SYS)/spawn.c
rm -f spawn.c
ln sys/$(SYS)/spawn.c .
tty.c: tty/$(TTY)/tty.c
rm -f tty.c
ln tty/$(TTY)/tty.c .
ttyio.c: sys/$(SYS)/ttyio.c
rm -f ttyio.c
ln sys/$(SYS)/ttyio.c .
ttykbd.c: tty/$(TTY)/ttykbd.c
rm -f ttykbd.c
ln tty/$(TTY)/ttykbd.c .